package com.lagou;

import com.lagou.bean.ConsumerComponent;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.io.IOException;

@EnableDubbo
@SpringBootApplication
public class AnnotationConsumerMain {
    public static void main(String[] args) throws IOException, InterruptedException {
        SpringApplication.run(AnnotationConsumerMain.class);

    }

}
